	<%@ page import="java.util.ArrayList" %>
	<%@ page import = "portal.modelo.*" %>
	<div class="page-content-wrapper">
		<div class="page-content">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			
			<!-- /.modal -->
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN STYLE CUSTOMIZER -->
			<div class="theme-panel hidden-xs hidden-sm">
				<div class="toggler">
				</div>
				<div class="toggler-close">
				</div>
				<div class="theme-options">
					<div class="theme-option theme-colors clearfix">
						<span>
						THEME COLOR </span>
						<ul>
							<li class="color-default current tooltips" data-style="default" data-container="body" data-original-title="Default">
							</li>
							<li class="color-darkblue tooltips" data-style="darkblue" data-container="body" data-original-title="Dark Blue">
							</li>
							<li class="color-blue tooltips" data-style="blue" data-container="body" data-original-title="Blue">
							</li>
							<li class="color-grey tooltips" data-style="grey" data-container="body" data-original-title="Grey">
							</li>
							<li class="color-light tooltips" data-style="light" data-container="body" data-original-title="Light">
							</li>
							<li class="color-light2 tooltips" data-style="light2" data-container="body" data-html="true" data-original-title="Light 2">
							</li>
						</ul>
					</div>
					<div class="theme-option">
						<span>
						Layout </span>
						<select class="layout-option form-control input-small">
							<option value="fluid" selected="selected">Fluid</option>
							<option value="boxed">Boxed</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Header </span>
						<select class="page-header-option form-control input-small">
							<option value="fixed" selected="selected">Fixed</option>
							<option value="default">Default</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Sidebar Mode</span>
						<select class="sidebar-option form-control input-small">
							<option value="fixed">Fixed</option>
							<option value="default" selected="selected">Default</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Sidebar Menu </span>
						<select class="sidebar-menu-option form-control input-small">
							<option value="accordion" selected="selected">Accordion</option>
							<option value="hover">Hover</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Sidebar Style </span>
						<select class="sidebar-style-option form-control input-small">
							<option value="default" selected="selected">Default</option>
							<option value="light">Light</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Sidebar Position </span>
						<select class="sidebar-pos-option form-control input-small">
							<option value="left" selected="selected">Left</option>
							<option value="right">Right</option>
						</select>
					</div>
					<div class="theme-option">
						<span>
						Footer </span>
						<select class="page-footer-option form-control input-small">
							<option value="fixed">Fixed</option>
							<option value="default" selected="selected">Default</option>
						</select>
					</div>
				</div>
			</div>
			<!-- END STYLE CUSTOMIZER -->
			<!-- BEGIN PAGE HEADER-->
			<h3 class="page-title">
			Cotizaciones - Reservas <small>El Bosque</small>
			</h3>
			<div class="page-bar">
				<ul class="page-breadcrumb">
					<li>
						<i class="fa fa-folder-o"></i>
						<a href="#">Cotizaciones - Reservas</a>
					</li>
				</ul>
			</div>
			<!-- END PAGE HEADER-->
			<!-- BEGIN PAGE CONTENT-->
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PORTLET-->
					<div class="portlet paddingless">
						
						<div class="portlet-body">
							<!--BEGIN TABS-->
							<div class="tabbable tabbable-custom">
								<ul class="nav nav-tabs">
									<li class="active">
										<a href="#tab_1_1" data-toggle="tab">
										Mis Cotizaciones Pendientes</a>
									</li>
									<li>
										<a href="#tab_1_2" data-toggle="tab">
										Mis Cotizaciones Desaprobadas </a>
									</li>
									<li>
										<a href="#tab_1_3" data-toggle="tab">
										Mis Reservas </a>
									</li>
									
								</ul>
								<div class="tab-content">
									<div class="tab-pane active" id="tab_1_1">
										<div class="scroller" style="height: 490px;" data-always-visible="1" data-rail-visible="0">
											<div class="col-md-12" id="locationTablaServicios">
												<table class="table table-striped table-bordered table-hover" id="sample_2">
												  <thead>
												    <tr>
												      <th>#</th>
												      <th>Fecha Registro</th>
												      <th>Fecha Programada</th>
												      <th style="width: 20%">Club</th>
												      <th>Participantes</th>
												      <th>Sub Total</th>
													  <th>IGV</th>
													  <th>Precio Total</th>
													  <th>Estado</th>
													  <th></th>
													  <th></th>
													  <th></th>
												    </tr>
												  </thead>
												  <tbody> 
												  <%ArrayList<Cotizacion> bean= (ArrayList<Cotizacion>)request.getAttribute("arregloCotizacionPendienteList"); %>
																				<% for(int ax=0;ax<bean.size();ax++){
																					Cotizacion bca = bean.get(ax);	%>
													    <tr id="TC<%=bca.getIdCotizacion()%>">
													      <td><%=(ax+1) %></td>
													      <td><%=bca.getFechaCreacionCotizacion()%></td>
													      <td><%=bca.getFechaProgramadaCotizacion()%></td>
													      <td><%=bca.getNombreClub()%></td>
													      <td><%=bca.getCantidadPersonasCotizacion()%></td>
													      <td><%=bca.getSubTotalCotizacion()%></td>
													      <td><%=bca.getIgvCotizacion()%></td>
													      <td><%=bca.getPrecioTotalCotizacion()%></td>
													      <td><%=bca.getDescripcionEstadoCotizacion()%></td>
													      <td><a class="btn green btn-xs" href="AprobarCotizacionServlet?idCotizacion=<%=bca.getIdCotizacion()%>">Aprobar</a></td>
													      <td><a class="btn red btn-xs" href="DesaprobarCotizacionServlet?idCotizacion=<%=bca.getIdCotizacion()%>">Desaprobar</a></td>
													      <td><a class="btn default btn-xs" href="VisualizarCotizacionServlet?idCotizacion=<%=bca.getIdCotizacion()%>">Visualizar</a></td>
													    </tr>
													   <%};%>
												  		
												  </tbody>
												</table>
											</div>
											<span style="color: red;">
											<%if(request.getAttribute("MENSAJE") == null){}else{%>
												<%=request.getAttribute("MENSAJE")%>
											<%} %>
											</span>
										</div>
									</div>
									<div class="tab-pane" id="tab_1_2">
										<div class="scroller" style="height: 490px;" data-always-visible="1" data-rail-visible="0">
											<div class="col-md-12" id="locationTablaServicios">
												<h5>Mis cotizaciones Rechazadas</h5>
												<table class="table table-striped table-bordered table-hover">
												  <thead>
												    <tr>
												      <th>#</th>
												      <th>Fecha Registro</th>
												      <th>Fecha Programada</th>
												      <th style="width: 20%">Club</th>
												      <th>Participantes</th>
												      <th>Sub Total</th>
													  <th>IGV</th>
													  <th>Precio Total</th>
													  <th>Estado</th>
													  <th></th>
												    </tr>
												  </thead>
												  <tbody>
												  <%ArrayList<Cotizacion> beane = (ArrayList<Cotizacion>)request.getAttribute("arregloCotizacionDesaprobadaList"); %>
																				<% for(int ax=0;ax<beane.size();ax++){
																					Cotizacion bca = beane.get(ax);	%>
													    <tr id="TC<%=bca.getIdCotizacion()%>">
													      <td><%=(ax+1) %></td>
													      <td><%=bca.getFechaCreacionCotizacion()%></td>
													      <td><%=bca.getFechaProgramadaCotizacion()%></td>
													      <td><%=bca.getNombreClub()%></td>
													      <td><%=bca.getCantidadPersonasCotizacion()%></td>
													      <td><%=bca.getSubTotalCotizacion()%></td>
													      <td><%=bca.getIgvCotizacion()%></td>
													      <td><%=bca.getPrecioTotalCotizacion()%></td>
													      <td><%=bca.getDescripcionEstadoCotizacion()%></td>
													      <td><a class="btn default btn-xs" href="VisualizarCotizacionServlet?idCotizacion=<%=bca.getIdCotizacion()%>">Visualizar</a></td>
													    </tr>
													   <%};%>
												  		
												  </tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="tab-pane" id="tab_1_3">
										<div class="scroller" style="height: 490px;" data-always-visible="1" data-rail-visible="0">
											<div class="col-md-12" id="locationTablaServicios">
												<table class="table table-striped table-bordered table-hover" id="sample_1">
												  <thead>
												    <tr>
												      <th>#</th>
												      <th>Fecha Registro</th>
												      <th>Fecha Programada</th>
												      <th style="width: 20% !important;">Club</th>
												      <th>Participantes</th>
												      <th>Sub Total</th>
													  <th>IGV</th>
													  <th>Precio Total</th>
													  <th>Estado</th>
													  <th></th>
												    </tr>
												  </thead>
												  <tbody>
												  <%ArrayList<Cotizacion> beanea = (ArrayList<Cotizacion>)request.getAttribute("arregloCotizacionAprobadaList"); %>
																				<% for(int ax=0;ax<beanea.size();ax++){
																					Cotizacion bca = beanea.get(ax);	%>
													    <tr id="TC<%=bca.getIdCotizacion()%>">
													      <td><%=(ax+1) %></td>
													      <td><%=bca.getFechaCreacionCotizacion()%></td>
													      <td><%=bca.getFechaProgramadaCotizacion()%></td>
													      <td><%=bca.getNombreClub()%></td>
													      <td><%=bca.getCantidadPersonasCotizacion()%></td>
													      <td><%=bca.getSubTotalCotizacion()%></td>
													      <td><%=bca.getIgvCotizacion()%></td>
													      <td><%=bca.getPrecioTotalCotizacion()%></td>
													      <td><%=bca.getDescripcionEstadoCotizacion()%></td>
													      <td><a class="btn default btn-xs" href="VisualizarCotizacionServlet?idCotizacion=<%=bca.getIdCotizacion()%>">Visualizar</a></td>
													    </tr>
													   <%};%>
												  		
												  </tbody>
												</table>
											</div>
										</div>
									</div>
									
								</div>
							</div>
							<!--END TABS-->
						</div>
					</div>
					<!-- END PORTLET-->
				</div>
			</div>
			<!-- END PAGE CONTENT-->
		</div>
	</div>